<script type="text/javascript" src="${web_domain}/resources/plugins/jquery.js"></script>
<script type="text/javascript" src="${web_domain}/resources/plugins/layui/layui.js"></script>
<script type="text/javascript" src="${web_domain}/resources/plugins/jquery.form.js"></script>
<link rel="stylesheet" href="${web_domain}/resources/plugins/layui/css/layui.css" media="all"/>
<link rel="stylesheet" href="${web_domain}/resources/css/global.css" media="all">
<link rel="stylesheet" href="${web_domain}/resources/plugins/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="${web_domain}/resources/css/table.css"/>
<link rel="stylesheet" href="${web_domain}/resources/css/list.css">

<script type="text/javascript">
    var ctx = {
        web_domain: "${web_domain}",
        upload_domain: "${upload_domain}"
    };
    $(function () {

        //搜索
        $("#search").click(function () {
            $("#totalForm").submit();
        });

        var num = 0;
        $("#btn-nav,#cancelSearch").click(function () {
            num++;
            if (num % 2 == 1) {
                $(".slideNav").css("right", "0");
            } else {
                $(".slideNav").css("right", "-40%");
            }

        })
    });
</script>
